package com.tedu._04mybatis.mapper;

import com.tedu._04mybatis.pojo.Comment;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CommentMapper {
    int insert(Comment comment);
    int deleteCommentById(Integer id);
    int updateCommentById(Comment comment);
    Comment selectCommentById(Integer id);
    List<Comment> selectCommentByWeiboId(Integer id);
}
